From 45e4e10f4c7b818e83f6f7ab0255206e90f55851 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 13 Feb 2022 17:22:33 +0100 Subject: chore: update some texts to reduce its width MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In French, "Utiliser le thème sombre" was a little too long, so instead I decided to remove the "Toggle" word and add an icon to help user understand the button purpose. Same way, "Aucune étoile" was too long, so I replace it with "0 étoile" --- src/pages/article/[slug].tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pages/article/[slug].tsx') diff --git a/src/pages/article/[slug].tsx b/src/pages/article/[slug].tsx index 689f123..a45cbc9 100644 --- a/src/pages/article/[slug].tsx +++ b/src/pages/article/[slug].tsx @@ -141,11 +141,11 @@ const SingleArticle: NextPageWithLayout = ({ post }) => { description: 'Prism: error text', }); const darkTheme = intl.formatMessage({ - defaultMessage: 'Toggle Dark Theme', + defaultMessage: 'Dark Theme 🌙', description: 'Prism: toggle dark theme button text', }); const lightTheme = intl.formatMessage({ - defaultMessage: 'Toggle Light Theme', + defaultMessage: 'Light Theme 🌞', description: 'Prism: toggle light theme button text', }); -- cgit v1.2.3